import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ApesBoxComponent } from './apes-box.component';
import { ApesGroupsModule } from '../groups';
import { ApesPanelModule } from '../panel';
import { ApesSubtotalModule } from '../subtotal';
import { ApesTabsModule } from '@shared/apes/tabs';
import { FormlyModule } from '@ngx-formly/core';
import { ApesGridModule } from '@shared/apes/grid';
import { ApesSplitModule } from '@shared/apes/split';
import { ApesCollapseModule } from '@shared/apes/collapse';
import { ApesCardModule } from '@shared/apes/card';
import { ApesIconModule } from '@shared/apes/icon';


const COMPONENTS = [ApesBoxComponent];

@NgModule({
  imports: [CommonModule, ApesGridModule, ApesSplitModule, ApesGroupsModule, ApesPanelModule,
    ApesCollapseModule, ApesSubtotalModule, ApesTabsModule, FormlyModule, ApesCardModule,ApesIconModule,],
  declarations: [...COMPONENTS],
  exports: [...COMPONENTS],
})
export class ApesBoxModule {
  static forRoot(): ModuleWithProviders {
    return { ngModule: ApesBoxModule };
  }
}
